package day20.pack3;

public class TestPrinter {
    public static void main(String[] args) {
        Printer printer = new Printer();
        Runnable r = ()-> {
            while(true) {
                printer.a();
            }
        };
        new Thread(r).start();
        new Thread(r).start();
    }
}
